<?php

/**
 * OpenIdUser
 *
 * @author vbolshov
 */

namespace km\openid;

class OpenIdUser {
	/**
	 * @var string
	 */
	private $identity, $username;
	/**
	 * @param $identity
	 * @return void
	 */
	function __construct($identity)
	{
		$this->identity = $identity;
	}
	/**
	 * @return string
	 */
	function getIdentity()
	{
		return $this->identity;
	}
	/**
	 * @return string
	 */
	function getUsername()
	{
		return $this->username;
	}
	/**
	 * @param string $username
	 * @return string
	 */
	function setUsername($username)
	{
		$this->username = $username;
	}
}